package xyz.renyumeng.xkm.rabbitMQ;

/**
 * @author renyumeng
 * @date Created in 14:59 2023/7/4
 */
public class RabbitMqConstant {
    public static final String ES_PRODUCT_QUEUE = "EsProductQueue";

    public static final String ES_PRODUCT_DELETE_QUEUE = "EsProductDeleteQueue";

    public static final String ES_PRODUCT_EXCHANGE = "EsProductDirectExchange";

    public static final String ES_PRODUCT_INSERT_KEY = "EsProductInsert";

    public static final String ES_PRODUCT_UPDATE_KEY = "EsProductUpdate";

    public static final String ES_PRODUCT_DELETE_KEY = "EsProductDelete";

    public static final String PRODUCT_QUEUE = "productQueue";

    public static final String PRODUCT_EXCHANGE = "productDirectExchange";

    // 下架商品routingKey
    public static final String PRODUCT_DE_LIST_ROUTING_KEY = "direct.queue.product.delist.routingkey";

    // 上架商品routingKey
    public static final String PRODUCT_LIST_ROUTING_KEY = "direct.queue.product.list.routingkey";
    // 延时交换机
    public static final String DELAY_PRODUCT_EXCHANGE = "delay.queue.product.exchange";

    // 延时队列
    public static final String DELAY_PRODUCT_QUEUE = "delay.queue.product.queue";

    // 延时key
    public static final String DELAY_PRODUCT_ROUTING_KEY = "delay.queue.product.routingkey";

    // 死信队列
    public static final String DEAD_LETTER_PRODUCT_QUEUE = "delay.queue.deadletter.product.queue";

    // 死信交换机
    public static final String DEAD_LETTER_PRODUCT_EXCHANGE = "delay.queue.deadletter.product.exchange";

    // 死信key
    public static final String DEAD_LETTER_PRODUCT_ROUTING_KEY = "delay.queue.deadletter.product.routingkey";


}
